//
//  NoticeDaol.h
//  Contacts
//
//  Created by 武 娇 on 14-8-2.
//  Copyright (c) 2014年 李 雷川. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "BaseDao.h"
#import "Notice.h"
@interface NoticeDao : BaseDao

-(Notice *)getNoticeWithID:(NSInteger)ID;
-(BOOL)insertNotice:(Notice *)notice;
-(BOOL)updateNoticeContent:(Notice *)notice;
-(BOOL)clearNotice;
-(NSArray *)getLatestNotices;
-(NSArray *)getNoticesWithCategory:(NSInteger)categoryID;
-(BOOL)saveWithNotices:(NSArray *)notices;
@end
